home *** CD-ROM | disk | FTP | other *** search
- Path: news.delphi.com!usenet
- From: Stanley Anderson <anderson4@delphi.com>
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Font Sample Printing Utility?
- Date: Sun, 10 Mar 96 22:25:04 -0500
- Organization: Delphi (info@delphi.com email, 800-695-4005 voice)
- Message-ID: <hXDK8iY.anderson4@delphi.com>
- References: <4hvjd2$hm6$1@mhadf.production.compuserve.com>
- NNTP-Posting-Host: bos1f.delphi.com
- X-To: Michael Loader <76711.2617@CompuServe.COM>
-
- The following macro for FinalWriter will print a page of text in varying
- sizes from 10 point to 36 point. Modify at your pleasure. The macrois
- public domain, and can be used, modified, rewritten, whatever by any one
- for any purpose at any time.
-
- rz
- B00000000000000
-
- Options Results
-
- lib = 'rexxarplib.library'
- IF ~SHOW('L',lib) THEN CALL ADDLIB(lib,-0,-30,0)
- IF ~SHOW('L',lib) THEN EXIT 20
-
- Result = GetFile(10,20,'work:finalwriter','')
- ChosenFont = Result
- n = Lastpos("/",ChosenFont)
- Name = substr(ChosenFont,n+1)
- Size = 10
- Font ChosenFont
- do i = 1 to 15
- Fontsize Size
- Type "This is an example of "Name" in "Size" Point."
- NewParagraph
- Size = Size + 2
- end
-
-
- Stan Anderson
-